Skip to content

Streaming Client Result investigation - assistants 2#49

Draft
annelo-msft wants to merge 17 commits intojoseharriaga:mainfrom
annelo-msft:openai-sseclientresult3
Draft

Streaming Client Result investigation - assistants 2#49
annelo-msft wants to merge 17 commits intojoseharriaga:mainfrom
annelo-msft:openai-sseclientresult3

Conversation

@annelo-msft
Copy link
Copy Markdown
Collaborator

Building on work by @trrwilson in #26 - primarily for prototyping and leaning

@annelo-msft annelo-msft changed the base branch from main to user/traviw/streaming-assistants March 29, 2024 00:01
@annelo-msft annelo-msft changed the base branch from user/traviw/streaming-assistants to main March 29, 2024 00:01
PipelineResponse response = message.Response;
try
{
// TODO: dust this part up...
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO


public async ValueTask<bool> MoveNextAsync()
{
// TODO: Can we wrap the boilerplate parts of this up into a special SSE base type for this?
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

// TODO: Revisit the IDisposable question
public abstract class StreamingClientResult<T> : ClientResult, IAsyncEnumerable<T>
// TODO: Note that constraining the T means the implementation can use
// ModelReaderWriter for deserialization.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: this is an important piece for a generalizable implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants